package pattern.factory;

public abstract class PizzaStore
{
	Pizza pizza;
	public Pizza orderPizza(String type)
	{
		Pizza pizza;
		pizza = creatPizza(type);
		pizza.prepare();
		return pizza;
	}
	protected abstract Pizza creatPizza(String type);
}
